package sunwul.hospital.hosp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import sunwul.hospital.model.model.hosp.Department;
import sunwul.hospital.model.vo.hosp.DepartmentVo;

import java.util.List;
import java.util.Map;

/**
 * @author sunwul
 * @date 2023/11/4 16:59:49
 * @description
 */
public interface DepartmentService extends IService<Department> {

    // 分页查询科室信息
    Map<String, Object> findDepartment(Map<String, Object> paramMap);

    // 查询医院下的所有科室列表
    List<DepartmentVo> findDeptTree(String hoscode);
}
